Hi, problems configuring mutt
I started with the instructions in the site
https://kernelnewbies.org/Outreachyfirstpatch#head-17dd753ec497c8f7e2305ce78be8c6ca7cd1c92c
I sent a mail to myself , It got to the spam folder with warning "this message was not encrypted"
I also got a mail from google:
Review blocked sign-in attempt
Hi Dafna,
Google just blocked someone from signing into your Google Account [email protected] from an app that may put your account at risk.
Then after googling, I tried to set ~/.muttrc:
*set ssl_starttls = yes*
*set ssl_force_tls = yes*
*set imap_user = '[email protected]'*
*set smtp_url = "smtp://[email protected]:587/"* *set from = '[email protected]'*
*set realname = 'Dafna Hirschfeld'*
*set folder = "imaps://imap.gmail.com:993"* *set record="+[Gmail]/Sent Mail"*
*set spoolfile = imaps://imap.gmail.com:993/INBOX* *set postponed="+[Gmail]/Drafts"*
*set header_cache = "~/.mutt/cache/headers"* *set message_cachedir = "~/.mutt/cache/bodies"* *set certificate_file = "~/.mutt/certificates"*
and my ~/.esmtprc is:
*identity "[email protected]"*
*hostname smtp.gmail.com:587*
*username "[email protected]"*
*starttls required*
now when I run "mutt -d 5" I get the message:
*Password for [email protected]@imap.gmail.com:*
after I enter my password I get "Login Failed"
looking at the ~/.muttdebug0:
[2017-09-29 18:01:21] Mutt/1.5.24 (2015-08-30) debugging at level 5 [2017-09-29 18:01:21] Reading configuration file '/etc/Muttrc'. [2017-09-29 18:01:21] parse_attach_list: ldata = 0x6e5768, *ldata = (nil) [2017-09-29 18:01:21] parse_attach_list: added */.* [9] [2017-09-29 18:01:21] parse_attach_list: ldata = 0x6e5760, *ldata = (nil) [2017-09-29 18:01:21] parse_attach_list: added text/x-vcard [7] [2017-09-29 18:01:21] parse_attach_list: added application/pgp.* [2] [2017-09-29 18:01:21] parse_attach_list: ldata = 0x6e5760, *ldata = 0x11ff180
[2017-09-29 18:01:21] parse_attach_list: skipping text/x-vcard [2017-09-29 18:01:21] parse_attach_list: skipping application/pgp.* [2017-09-29 18:01:21] parse_attach_list: added application/x-pkcs7-.* [2] [2017-09-29 18:01:21] parse_attach_list: ldata = 0x6e5758, *ldata = (nil) [2017-09-29 18:01:21] parse_attach_list: added text/plain [7] [2017-09-29 18:01:21] parse_attach_list: ldata = 0x6e5760, *ldata = 0x11ff180
[2017-09-29 18:01:21] parse_attach_list: skipping text/x-vcard [2017-09-29 18:01:21] parse_attach_list: skipping application/pgp.* [2017-09-29 18:01:21] parse_attach_list: skipping application/x-pkcs7-.* [2017-09-29 18:01:21] parse_attach_list: added message/external-body [4] [2017-09-29 18:01:21] parse_attach_list: ldata = 0x6e5750, *ldata = (nil) [2017-09-29 18:01:21] parse_attach_list: added message/external-body [4] [2017-09-29 18:01:21] Reading configuration file '/usr/lib/mutt/source-muttrc.d|'.
[2017-09-29 18:01:21] Reading configuration file '/etc/Muttrc.d/charset.rc'. [2017-09-29 18:01:21] Reading configuration file '/etc/Muttrc.d/colors.rc'. [2017-09-29 18:01:21] mutt_alloc_color(): Color pairs used so far: 1 [2017-09-29 18:01:21] mutt_alloc_color(): Color pairs used so far: 2 [2017-09-29 18:01:21] mutt_alloc_color(): Color pairs used so far: 3 [2017-09-29 18:01:21] mutt_alloc_color(): Color pairs used so far: 4 [2017-09-29 18:01:21] mutt_alloc_color(): Color pairs used so far: 5 [2017-09-29 18:01:21] mutt_alloc_color(): Color pairs used so far: 6 [2017-09-29 18:01:21] mutt_alloc_color(): Color pairs used so far: 7 [2017-09-29 18:01:21] mutt_alloc_color(): Color pairs used so far: 8 [2017-09-29 18:01:21] Reading configuration file '/etc/Muttrc.d/compressed-folders.rc'.
[2017-09-29 18:01:21] Reading configuration file '/etc/Muttrc.d/gpg.rc'. [2017-09-29 18:01:21] Reading configuration file '/etc/Muttrc.d/smime.rc'. [2017-09-29 18:01:22] Reading configuration file '/home/dafna/.muttrc'. [2017-09-29 18:01:22] Using default IMAP port 143
[2017-09-29 18:01:22] Using default IMAPS port 993
[2017-09-29 18:01:22] Reading imaps://imap.gmail.com:993/INBOX... [2017-09-29 18:01:22] Looking up imap.gmail.com...
[2017-09-29 18:01:22] Connecting to imap.gmail.com... [2017-09-29 18:01:22] SSL/TLS connection using TLS1.2 (ECDHE-RSA/AES-128-GCM/AEAD)
[2017-09-29 18:01:23] Connected to imap.gmail.com:993 on fd=5 [2017-09-29 18:01:23] imap_cmd_step: grew buffer to 512 bytes [2017-09-29 18:01:23] 5< * OK Gimap ready for requests from 87.70.155.11 4mb36680424wrk
[2017-09-29 18:01:23] IMAP queue drained
[2017-09-29 18:01:23] 5> a0000 CAPABILITY
[2017-09-29 18:01:23] 5< * CAPABILITY IMAP4rev1 UNSELECT IDLE NAMESPACE QUOTA ID XLIST CHILDREN X-GM-EXT-1 XYZZY SASL-IR AUTH=XOAUTH2 AUTH=PLAIN AUTH=PLAIN-CLIENTTOKEN AUTH=OAUTHBEARER AUTH=XOAUTH
[2017-09-29 18:01:23] Handling CAPABILITY
[2017-09-29 18:01:23] 5< a0000 OK Thats all she wrote! 4mb36680424wrk [2017-09-29 18:01:23] IMAP queue drained
[2017-09-29 18:01:23] imap_authenticate: Using any available method. [2017-09-29 18:01:23] SASL local ip: 192.168.1.3;49818, remote ip:64.233.184.109;993
[2017-09-29 18:01:23] External SSF: 128
[2017-09-29 18:01:23] mutt_sasl_cb_authname: getting authname for imap.gmail.com:993
[2017-09-29 18:01:23] mutt_sasl_cb_authname: getting user for imap.gmail.com:993
[2017-09-29 18:01:23] mutt_sasl_cb_pass: getting password for [email protected]@imap.gmail.com:993
[2017-09-29 18:01:51] Authenticating (PLAIN)...
[2017-09-29 18:01:51] 5> a0001 AUTHENTICATE PLAIN ZGFmbmEzQGdtYWlsLmNvbQBkYWZuYTNAZ21haWwuY29tAHptb3JhYml0YW4= [2017-09-29 18:01:52] 5< * NO [WEBALERT
https://accounts.google.com/signin/continue?sarp=1&scc=1&plt=AKgnsbugOQ198DOy7Zb1MDieiIPEzFKc8]
Web login required.
[2017-09-29 18:01:52] Handling untagged NO
[2017-09-29 18:01:52] [WEBALERT
https://accounts.google.com/signin/continue?sarp=1&scc=1&plt=AKgnsbugOQ198DOy7Zb1MDieiIPEzFKc1njxh1OAIMIwnM_HFpfrZrE8Cs8jIZ8]
Web login required.
[2017-09-29 18:01:54] 5< a0001 NO [ALERT] Please log in via your web
browser: https://support.google.com/mail/accounts/answer/78754 (Failure) [2017-09-29 18:01:54] IMAP queue drained
[2017-09-29 18:01:54] imap_auth_sasl: IMAP4rev1 UNSELECT IDLE NAMESPACE QUOTA ID XLIST CHILDREN X-GM-EXT-1 XYZZY SASL-IR AUTH=XOAUTH2 AUTH=PLAIN AUTH=PLAIN-CLIENTTOKEN AUTH=OAUTHBEARER AUTH=XOAUTH failed [2017-09-29 18:01:54] Logging in...
[2017-09-29 18:01:54] 5> a0002 LOGIN "[email protected]" <my password was here >
[2017-09-29 18:01:54] 5< * NO [WEBALERT
https://accounts.google.com/signin/continue?sarp=1&scc=1&plt=AKgnsbtsuqTeiA_IDHsoIa3Utf_H1khBtwHGPHU6HQDMyeG3LyUNEoFXbnca04wxTgx9HN5kLUpQ]
Web login required.
[2017-09-29 18:01:54] Handling untagged NO
[2017-09-29 18:01:54] [WEBALERT
https://accounts.google.com/signin/continue?sarp=1&scc=1&plt=AKgnsbtsuqTeiA_IDHsoIa3Utf_H1khBtwHGPHU6HQDMyeG3LyUNEoFXbnca04wxTgx9HN5kLUpQ9nLYddqY70JeOESSjlwXKknggYPTII1U_XV7]
Web login required.
[2017-09-29 18:01:56] 5< a0002 NO [ALERT] Please log in via your web
browser: https://support.google.com/mail/accounts/answer/78754 (Failure) [2017-09-29 18:01:56] IMAP queue drained
[2017-09-29 18:01:56] Login failed.
[2017-09-29 18:01:58] mutt_num_postponed: using old IMAP postponed count. [2017-09-29 18:02:47] mutt_index_menu[683]: Got op 147 [2017-09-29 18:02:47] Closing connection to imap.gmail.com... [2017-09-29 18:02:47] 5> a0003 LOGOUT
[2017-09-29 18:02:47] 5< * BYE Logout Requested 4mb36680424wrk [2017-09-29 18:02:47] Handling BYE
[2017-09-29 18:02:47] 5< a0003 OK Quoth the raven, nevermore... 4mb36680424wrk
[2017-09-29 18:02:47] IMAP queue drained
2017-09-29 17:09 GMT+02:00 <[email protected]>:
Quoted 106 lines
I started with the instructions in the site https://kernelnewbies.org/Outreachyfirstpatch#head-17dd753ec497c8f7e2305ce78be8c6ca7cd1c92c
I sent a mail to myself , It got to the spam folder with warning "this message was not encrypted"I also got a mail from google:
Review blocked sign-in attempt
Hi Dafna,
Google just blocked someone from signing into your Google Account [email protected] from an app that may put your account at risk.Then after googling, I tried to set ~/.muttrc:
set
ssl_starttls= yes
setssl_force_tls= yes
setimap_user= '[email protected]'
setsmtp_url= "smtp://[email protected]:587/" set from = '[email protected]'
set realname = 'Dafna Hirschfeld'
set folder = "imaps://imap.gmail.com:993" set record="+[Gmail]/Sent Mail"
set spoolfile = imaps://imap.gmail.com:993/INBOX set postponed="+[Gmail]/Drafts"
setheader_cache= "~/.mutt/cache/headers" setmessage_cachedir= "~/.mutt/cache/bodies" setcertificate_file= "~/.mutt/certificates"and my ~/.esmtprc is:
identity "[email protected]"
hostname smtp.gmail.com:587
username "[email protected]"
starttls requirednow when I run "mutt -d 5" I get the message:
Password for [email protected]@imap.gmail.com:
after I enter my password I get "Login Failed"
looking at the ~/.muttdebug0:
[2017-09-29 18:01:21] Mutt/1.5.24 (2015-08-30) debugging at level 5
[2017-09-29 18:01:21] Reading configuration file '/etc/Muttrc'.
[2017-09-29 18:01:21]parse_attach_list: ldata =0x6e5768, *ldata = (nil)
[2017-09-29 18:01:21]parse_attach_list: added */.* [9]
[2017-09-29 18:01:21]parse_attach_list: ldata =0x6e5760, *ldata = (nil)
[2017-09-29 18:01:21]parse_attach_list: added text/x-vcard [7]
[2017-09-29 18:01:21]parse_attach_list: added application/pgp.* [2]
[2017-09-29 18:01:21]parse_attach_list: ldata =0x6e5760, *ldata =0x11ff180
[2017-09-29 18:01:21]parse_attach_list: skipping text/x-vcard
[2017-09-29 18:01:21]parse_attach_list: skipping application/pgp.*
[2017-09-29 18:01:21]parse_attach_list: added application/x-pkcs7-.* [2]
[2017-09-29 18:01:21]parse_attach_list: ldata =0x6e5758, *ldata = (nil)
[2017-09-29 18:01:21]parse_attach_list: added text/plain [7]
[2017-09-29 18:01:21]parse_attach_list: ldata =0x6e5760, *ldata =0x11ff180
[2017-09-29 18:01:21]parse_attach_list: skipping text/x-vcard
[2017-09-29 18:01:21]parse_attach_list: skipping application/pgp.*
[2017-09-29 18:01:21]parse_attach_list: skipping application/x-pkcs7-.*
[2017-09-29 18:01:21]parse_attach_list: added message/external-body [4]
[2017-09-29 18:01:21]parse_attach_list: ldata =0x6e5750, *ldata = (nil)
[2017-09-29 18:01:21]parse_attach_list: added message/external-body [4]
[2017-09-29 18:01:21] Reading configuration file '/usr/lib/mutt/source-muttrc.d|'.
[2017-09-29 18:01:21] Reading configuration file '/etc/Muttrc.d/charset.rc'.
[2017-09-29 18:01:21] Reading configuration file '/etc/Muttrc.d/colors.rc'.
[2017-09-29 18:01:21]mutt_alloc_color(): Color pairs used so far: 1
[2017-09-29 18:01:21]mutt_alloc_color(): Color pairs used so far: 2
[2017-09-29 18:01:21]mutt_alloc_color(): Color pairs used so far: 3
[2017-09-29 18:01:21]mutt_alloc_color(): Color pairs used so far: 4
[2017-09-29 18:01:21]mutt_alloc_color(): Color pairs used so far: 5
[2017-09-29 18:01:21]mutt_alloc_color(): Color pairs used so far: 6
[2017-09-29 18:01:21]mutt_alloc_color(): Color pairs used so far: 7
[2017-09-29 18:01:21]mutt_alloc_color(): Color pairs used so far: 8
[2017-09-29 18:01:21] Reading configuration file '/etc/Muttrc.d/compressed-folders.rc'.
[2017-09-29 18:01:21] Reading configuration file '/etc/Muttrc.d/gpg.rc'.
[2017-09-29 18:01:21] Reading configuration file '/etc/Muttrc.d/smime.rc'.
[2017-09-29 18:01:22] Reading configuration file '/home/dafna/.muttrc'.
[2017-09-29 18:01:22] Using default IMAP port 143
[2017-09-29 18:01:22] Using default IMAPS port 993
[2017-09-29 18:01:22] Reading imaps://imap.gmail.com:993/INBOX...
[2017-09-29 18:01:22] Looking up imap.gmail.com...
[2017-09-29 18:01:22] Connecting to imap.gmail.com...
[2017-09-29 18:01:22] SSL/TLS connection using TLS1.2 (ECDHE-RSA/AES-128-GCM/AEAD)
[2017-09-29 18:01:23] Connected to imap.gmail.com:993 on fd=5
[2017-09-29 18:01:23]imap_cmd_step: grew buffer to 512 bytes
[2017-09-29 18:01:23] 5< * OK Gimap ready for requests from 87.70.155.11 4mb36680424wrk
[2017-09-29 18:01:23] IMAP queue drained
[2017-09-29 18:01:23] 5> a0000 CAPABILITY
[2017-09-29 18:01:23] 5< * CAPABILITY IMAP4rev1 UNSELECT IDLE NAMESPACE QUOTA ID XLIST CHILDREN X-GM-EXT-1 XYZZY SASL-IR AUTH=XOAUTH2 AUTH=PLAIN AUTH=PLAIN-CLIENTTOKEN AUTH=OAUTHBEARER AUTH=XOAUTH [2017-09-29 18:01:23] Handling CAPABILITY
[2017-09-29 18:01:23] 5< a0000 OK Thats all she wrote! 4mb36680424wrk
[2017-09-29 18:01:23] IMAP queue drained
[2017-09-29 18:01:23]imap_authenticate: Using any available method.
[2017-09-29 18:01:23] SASL local ip: 192.168.1.3;49818, remote ip:64.233.184.109;993
[2017-09-29 18:01:23] External SSF: 128
[2017-09-29 18:01:23]mutt_sasl_cb_authname: getting authname for imap.gmail.com:993
[2017-09-29 18:01:23]mutt_sasl_cb_authname: getting user for imap.gmail.com:993
[2017-09-29 18:01:23]mutt_sasl_cb_pass: getting password for [email protected]@imap.gmail.com:993
[2017-09-29 18:01:51] Authenticating (PLAIN)...
[2017-09-29 18:01:51] 5> a0001 AUTHENTICATE PLAIN ZGFmbmEzQGdtYWlsLmNvbQBkYWZuYTNAZ21haWwuY29tAHptb3JhYml0YW4=
[2017-09-29 18:01:52] 5< * NO [WEBALERT https://accounts.google.com/signin/continue?sarp=1&scc=1&plt=AKgnsbugOQ198DOy7Zb1MDieiIPEzFKc8] Web login required. [2017-09-29 18:01:52] Handling untagged NO
[2017-09-29 18:01:52] [WEBALERT https://accounts.google.com/signin/continue?sarp=1&scc=1&plt=AKgnsbugOQ198DOy7Zb1MDieiIPEzFKc1njxh1OAIMIwnM_HFpfrZrE8Cs8jIZ8] Web login required. [2017-09-29 18:01:54] 5< a0001 NO [ALERT] Please log in via your web browser: https://support.google.com/mail/accounts/answer/78754 (Failure)
Quoted 8 lines
[2017-09-29 18:01:54] IMAP queue drained
[2017-09-29 18:01:54]imap_auth_sasl: IMAP4rev1 UNSELECT IDLE NAMESPACE QUOTA ID XLIST CHILDREN X-GM-EXT-1 XYZZY SASL-IR AUTH=XOAUTH2 AUTH=PLAIN AUTH=PLAIN-CLIENTTOKEN AUTH=OAUTHBEARER AUTH=XOAUTH failed [2017-09-29 18:01:54] Logging in...
[2017-09-29 18:01:54] 5> a0002 LOGIN "[email protected]" <my password was here >
[2017-09-29 18:01:54] 5< * NO [WEBALERT https://accounts.google.com/signin/continue?sarp=1&scc=1&plt=AKgnsbtsuqTeiA_IDHsoIa3Utf_H1khBtwHGPHU6HQDMyeG3LyUNEoFXbnca04wxTgx9HN5kLUpQ] Web login required. [2017-09-29 18:01:54] Handling untagged NO
[2017-09-29 18:01:54] [WEBALERT https://accounts.google.com/signin/continue?sarp=1&scc=1&plt=AKgnsbtsuqTeiA_IDHsoIa3Utf_H1khBtwHGPHU6HQDMyeG3LyUNEoFXbnca04wxTgx9HN5kLUpQ9nLYddqY70JeOESSjlwXKknggYPTII1U_XV7] Web login required. [2017-09-29 18:01:56] 5< a0002 NO [ALERT] Please log in via your web browser: https://support.google.com/mail/accounts/answer/78754 (Failure)
Hi Dafna,
Yes they haven't made gmail easy for the outside IMAP world. Well it used to be easy but google is evolving as it does...
So you need to make sure you check everything there:
https://support.google.com/mail/accounts/answer/78754
Some outstanding non obvious points from that page:
1) Make sure you enabled IMAP on gmail parameters
2) Enable access to non secured apps (google account parameters)
3) Check https://www.google.com/ajccounts/DisplayUnlockCaptcha
It's also possible that none of this will help. For exemple IMAP login on my account has stopped working suddenly several days ago. Impossible to know why. So I'm stuck with overkill email clients supporting OAUTH2. You should have better luck though, my case seems to be isolated as far as I know.
Hi,
Thanks a lot,
I enabled the 2-step verification , generated an app password to use in mutt and then disabled the 2 step verification.
This seems to solve the issue.
Dafna
Quoted 176 lines · Frédéric Weisbecker
2017-09-29 17:09 GMT+02:00 <[email protected] <javascript:>>:
Quoted 2 lines
I started with the instructions in the site
https://kernelnewbies.org/Outreachyfirstpatch#head-17dd753ec497c8f7e2305ce78be8c6ca7cd1c92c
Quoted 1 line
I sent a mail to myself , It got to the spam folder with warning "this
message was not encrypted"
Quoted 6 lines
I also got a mail from google:
Review blocked sign-in attempt
Hi Dafna,
Google just blocked someone from signing into your Google Account[email protected] <javascript:> from an app that may put your account at risk.
Quoted 30 lines
Then after googling, I tried to set ~/.muttrc:
set
ssl_starttls= yes
setssl_force_tls= yes
setimap_user= '[email protected] <javascript:>' setsmtp_url= "smtp://[email protected]:587/" set from = '[email protected] <javascript:>' set realname = 'Dafna Hirschfeld'
set folder = "imaps://imap.gmail.com:993" set record="+[Gmail]/Sent Mail"
set spoolfile = imaps://imap.gmail.com:993/INBOX set postponed="+[Gmail]/Drafts"
setheader_cache= "~/.mutt/cache/headers" setmessage_cachedir= "~/.mutt/cache/bodies" setcertificate_file= "~/.mutt/certificates"and my ~/.esmtprc is:
identity "[email protected] <javascript:>"
hostname smtp.gmail.com:587
username "[email protected] <javascript:>"
starttls requirednow when I run "mutt -d 5" I get the message:
Password for [email protected]@imap.gmail.com:
Quoted 8 lines
after I enter my password I get "Login Failed"
looking at the ~/.muttdebug0:
[2017-09-29 18:01:21] Mutt/1.5.24 (2015-08-30) debugging at level 5 [2017-09-29 18:01:21] Reading configuration file '
/etc/Muttrc'. [2017-09-29 18:01:21]parse_attach_list: ldata =0x6e5768, *ldata =(nil)
Quoted 2 lines
[2017-09-29 18:01:21]
parse_attach_list: added */.* [9] [2017-09-29 18:01:21]parse_attach_list: ldata =0x6e5760, *ldata =(nil)
Quoted 3 lines
[2017-09-29 18:01:21]
parse_attach_list: added text/x-vcard [7] [2017-09-29 18:01:21]parse_attach_list: added application/pgp.* [2] [2017-09-29 18:01:21]parse_attach_list: ldata =0x6e5760, *ldata =
0x11ff180Quoted 3 lines
[2017-09-29 18:01:21]
parse_attach_list: skipping text/x-vcard [2017-09-29 18:01:21]parse_attach_list: skipping application/pgp.* [2017-09-29 18:01:21]parse_attach_list: added application/x-pkcs7-.*[2]
Quoted 1 line
[2017-09-29 18:01:21]
parse_attach_list: ldata =0x6e5758, *ldata =(nil)
Quoted 2 lines
[2017-09-29 18:01:21]
parse_attach_list: added text/plain [7] [2017-09-29 18:01:21]parse_attach_list: ldata =0x6e5760, *ldata =
0x11ff180Quoted 5 lines
[2017-09-29 18:01:21]
parse_attach_list: skipping text/x-vcard [2017-09-29 18:01:21]parse_attach_list: skipping application/pgp.* [2017-09-29 18:01:21]parse_attach_list: skipping application/x-pkcs7-.* [2017-09-29 18:01:21]parse_attach_list: added message/external-body [4] [2017-09-29 18:01:21]parse_attach_list: ldata =0x6e5750, *ldata =(nil)
Quoted 2 lines
[2017-09-29 18:01:21]
parse_attach_list: added message/external-body [4] [2017-09-29 18:01:21] Reading configuration file'/usr/lib/mutt/source-muttrc.d|'.
Quoted 1 line
[2017-09-29 18:01:21] Reading configuration file
'
/etc/Muttrc.d/charset.rc'.Quoted 1 line
[2017-09-29 18:01:21] Reading configuration file
'
/etc/Muttrc.d/colors.rc'.Quoted 9 lines
[2017-09-29 18:01:21]
mutt_alloc_color(): Color pairs used so far: 1 [2017-09-29 18:01:21]mutt_alloc_color(): Color pairs used so far: 2 [2017-09-29 18:01:21]mutt_alloc_color(): Color pairs used so far: 3 [2017-09-29 18:01:21]mutt_alloc_color(): Color pairs used so far: 4 [2017-09-29 18:01:21]mutt_alloc_color(): Color pairs used so far: 5 [2017-09-29 18:01:21]mutt_alloc_color(): Color pairs used so far: 6 [2017-09-29 18:01:21]mutt_alloc_color(): Color pairs used so far: 7 [2017-09-29 18:01:21]mutt_alloc_color(): Color pairs used so far: 8 [2017-09-29 18:01:21] Reading configuration file'
/etc/Muttrc.d/compressed-folders.rc'.Quoted 2 lines
[2017-09-29 18:01:21] Reading configuration file '
/etc/Muttrc.d/gpg.rc'. [2017-09-29 18:01:21] Reading configuration file'
/etc/Muttrc.d/smime.rc'.Quoted 7 lines
[2017-09-29 18:01:22] Reading configuration file '
/home/dafna/.muttrc'. [2017-09-29 18:01:22] Using default IMAP port 143 [2017-09-29 18:01:22] Using default IMAPS port 993 [2017-09-29 18:01:22] Reading imaps://imap.gmail.com:993/INBOX... [2017-09-29 18:01:22] Looking up imap.gmail.com... [2017-09-29 18:01:22] Connecting to imap.gmail.com... [2017-09-29 18:01:22] SSL/TLS connection using TLS1.2(ECDHE-RSA/AES-128-GCM/AEAD)
Quoted 3 lines
[2017-09-29 18:01:23] Connected to imap.gmail.com:993 on fd=5 [2017-09-29 18:01:23]
imap_cmd_step: grew buffer to 512 bytes [2017-09-29 18:01:23] 5< * OK Gimap ready for requests from 87.70.155.114mb36680424wrk
Quoted 3 lines
[2017-09-29 18:01:23] IMAP queue drained
[2017-09-29 18:01:23] 5> a0000 CAPABILITY
[2017-09-29 18:01:23] 5< * CAPABILITY IMAP4rev1 UNSELECT IDLE NAMESPACEQUOTA ID XLIST CHILDREN X-GM-EXT-1 XYZZY SASL-IR AUTH=XOAUTH2 AUTH=PLAIN AUTH=PLAIN-CLIENTTOKEN AUTH=OAUTHBEARER AUTH=XOAUTH
Quoted 5 lines
[2017-09-29 18:01:23] Handling CAPABILITY
[2017-09-29 18:01:23] 5< a0000 OK Thats all she wrote! 4mb36680424wrk [2017-09-29 18:01:23] IMAP queue drained
[2017-09-29 18:01:23]imap_authenticate: Using any available method. [2017-09-29 18:01:23] SASL local ip: 192.168.1.3;49818, remoteip:64.233.184.109;993
Quoted 2 lines
[2017-09-29 18:01:23] External SSF: 128
[2017-09-29 18:01:23]mutt_sasl_cb_authname: getting authname forimap.gmail.com:993
Quoted 1 line
[2017-09-29 18:01:23]
mutt_sasl_cb_authname: getting user forimap.gmail.com:993
Quoted 1 line
[2017-09-29 18:01:23]
mutt_sasl_cb_pass: getting password for[email protected]@imap.gmail.com:993
Quoted 2 lines
[2017-09-29 18:01:51] Authenticating (PLAIN)...
[2017-09-29 18:01:51] 5> a0001 AUTHENTICATE PLAINZGFmbmEzQGdtYWlsLmNvbQBkYWZuYTNAZ21haWwuY29tAHptb3JhYml0YW4=
Quoted 1 line
[2017-09-29 18:01:52] 5< * NO [WEBALERT
https://accounts.google.com/signin/continue?sarp=1&scc=1&plt=AKgnsbugOQ198DOy7Zb1MDieiIPEzFKc8]
Web login required.Quoted 2 lines
[2017-09-29 18:01:52] Handling untagged NO
[2017-09-29 18:01:52] [WEBALERThttps://accounts.google.com/signin/continue?sarp=1&scc=1&plt=AKgnsbugOQ198DOy7Zb1MDieiIPEzFKc1njxh1OAIMIwnM_HFpfrZrE8Cs8jIZ8]
Web login required.Quoted 1 line
[2017-09-29 18:01:54] 5< a0001 NO [ALERT] Please log in via your web
browser: https://support.google.com/mail/accounts/answer/78754 (Failure)
Quoted 2 lines
[2017-09-29 18:01:54] IMAP queue drained
[2017-09-29 18:01:54]imap_auth_sasl: IMAP4rev1 UNSELECT IDLE NAMESPACEQUOTA ID XLIST CHILDREN X-GM-EXT-1 XYZZY SASL-IR AUTH=XOAUTH2 AUTH=PLAIN AUTH=PLAIN-CLIENTTOKEN AUTH=OAUTHBEARER AUTH=XOAUTH failed
Quoted 2 lines
[2017-09-29 18:01:54] Logging in...
[2017-09-29 18:01:54] 5> a0002 LOGIN "[email protected] <javascript:>"<my password was here >
Quoted 1 line
[2017-09-29 18:01:54] 5< * NO [WEBALERT
https://accounts.google.com/signin/continue?sarp=1&scc=1&plt=AKgnsbtsuqTeiA_IDHsoIa3Utf_H1khBtwHGPHU6HQDMyeG3LyUNEoFXbnca04wxTgx9HN5kLUpQ]
Web login required.Quoted 2 lines
[2017-09-29 18:01:54] Handling untagged NO
[2017-09-29 18:01:54] [WEBALERThttps://accounts.google.com/signin/continue?sarp=1&scc=1&plt=AKgnsbtsuqTeiA_IDHsoIa3Utf_H1khBtwHGPHU6HQDMyeG3LyUNEoFXbnca04wxTgx9HN5kLUpQ9nLYddqY70JeOESSjlwXKknggYPTII1U_XV7]
Web login required.Quoted 1 line
[2017-09-29 18:01:56] 5< a0002 NO [ALERT] Please log in via your web
browser: https://support.google.com/mail/accounts/answer/78754 (Failure)
Hi Dafna,
Yes they haven't made gmail easy for the outside IMAP world. Well it used to be easy but google is evolving as it does...
So you need to make sure you check everything there:
https://support.google.com/mail/accounts/answer/78754Some outstanding non obvious points from that page:
1) Make sure you enabled IMAP on gmail parameters
2) Enable access to non secured apps (google account parameters)
3) Check https://www.google.com/ajccounts/DisplayUnlockCaptchaIt's also possible that none of this will help. For exemple IMAP login on my account has stopped working suddenly several days ago. Impossible to know why. So I'm stuck with overkill email clients supporting OAUTH2. You should have better luck though, my case seems to be isolated as far as I know.